module.exports = {
	entry: __dirname + '/script/main.js',
	output:{
		path: __dirname + '/public',
		filename: 'bundle.js'
	},
	module: {
		rules: [
			{
				test: /\.css$/,
				use: [
					{
						loader: 'style-loader'
					},
					{
						loader: 'css-loader'
					}
				]
			},
			{
				test: /.(jpg|png)$/,
				use: ['url-loader']
			}
		]
	}
}